package users

import "go_auth/models/users"

type CertKey struct {
	users.CertKey
}

func CheckCertCode(uid string) (bool, string) {
	return users.CheckCertCode(uid)
}

func AddCertCode(uid string) int {
	return users.AddCertCode(uid)
}

func UpdateCertCode(uid string) int {
	return users.UpdateCertCode(uid)
}

func DeleteCertCode(uid string) int {
	return users.DeleteCertCode(uid)
}

func FindCertCode() interface{} {
	return users.FindSources()
}
